"Club Kama" by Seth Nelson and Phil Patti

Use American dialect.

Part 1 Setting up the World

Chapter 1 The Map

When play begins: say "Hello there my classy friend.  Tonight you are put into the shoes of the handsome and smooth-talking Vincent Auditore. His exploits thus far have landed him at the Club Kama. He's on the hunt for a lady-friend and could do with a little help. Good luck."

secretProgress is a number that varies. secretProgress is 0.

The Main is a region. Main South and Main North and Main East and Main West are in The Main.
The Stage is a region. Stage North and Stage South and Backstage are in The Stage.

Northwest of Main South is Main West.
Northeast of Main West is Main North.
Southeast of Main North is Main East.
Southwest of Main East is Main  South.
Southwest of Main West is Men's Bathroom.
Northwest of Main West is Women's Bathroom.
North of Main North is The Patio.
East of Main East is Stage North.
South of Stage North is Stage South.
South of Stage South is Backstage.
East of Stage North is The Balcony.

[BAR ZONE DEFINITIONS]

Instead of going nowhere from a room, say "You must be drunk already. There isn't anything there!".

Main South is a room. "The southern section of the bar, with complete access to the bar itself. There are fine looking women everywhere. The main room of the bar wraps around to the Northeast and Northwest." 
Sevens is scenery in the Main South. Understand "women" as Sevens. Understand "woman" as Sevens.
Instead of interacting  Sevens, say "These women are 7's. Go find some 10's."
Instead of using Sevens, say "Using people? That's not cool."
Instead of taking Sevens, say "Take a woman? You're not trying to get arrested."

Main West is a room. "A quieter section of the bar. There are booths everywhere, and a few of them are open. To the west you see the men (southwest) and womens (northwest) bathrooms. The bar wraps around to the  Southeast and Northeast."

Main North is a room. "A relatively empty section of the bar. A few couples are talking in the corners. To the north is a set of open doors which opens up to a patio. The bar wraps around to the Southwest and Southeast. "

Main East is a room. "A large swath of dance floor. There are people everywhere, but they are all busy, you know? To the east is a large entrance to the northern section of the stage. The bar wraps around to the Northwest and Southwest."

Men's Bathroom is a room. "A men's bathroom, and a disgusting one at that. A simple toilet, a urinal, and a sink. Do your business and get out quick! The door is to your NorthEast."
Toilet is scenery in the Men's bathroom. 
Urinal is scenery in the Men's bathroom.
Sink is scenery in the Men's bathroom.
Instead of using Toilet, say "You sit down, do your business, and stand back up."
Instead of using Urinal, say "You do what you have to. Now back to work."
Instead of using Sink, say "You wash your hands thoroughly."

Women's Bathroom is a room. "The women's bathroom! You shouldn't be in here!" 

The Patio is a room. "A cool refreshing breeze plays gently against your cheek. In the midst of the frenzy of the club, this is a quiet, romantic spot. The bar is to your South.  [if Chloe is in The Balcony][Paragraph Break]You notice a cute blonde up on a balcony to the east. I wonder who she is? [end if]"

Stage North is a room. "People are bumping and grinding like no one's business. This is one sick rave! The band is playing to the south. Stairs to the east lead up to a balcony."

Stage South is a room. "Teaming masses push up against the stage as Justin Beiber lights up the stage. To the North is the dance floor. To the south is the door to the backstage."

The Balcony is a room. "The balcony is half inside, half out. It overlooks both the patio and the dance floor. There are tables everywhere, and some have drinks on them. There is also a smaller bar. The stairs down to the dance floor are to your East."

Chapter 2 Props

NumDrinks is a number that varies. NumDrinks is 0. 

Interacting is an action applying to one visible thing. Understand "interact [thing]" as interacting.  Understand "interact with [thing]" as interacting.

A drink is a kind of thing. The plural of drink is drinks.  The description of a drink is "A glass of an indeterminable alcoholic beverage." 
A drink has a truth state called drugged. The drugged of the drink is usually false.
Instead of using a drink: 
	let chosen drink be a random drink carried by the player;
	 if drink is nothing:
		say "You have no more drinks left!";
	otherwise: 
		move chosen drink to DrinkLimbo;
		say "You drink the drink. You feel slightly more drunk."; 
		Change NumDrinks to NumDrinks + 1;  

Wine is a kind of thing. "You see an unopened bottle of wine on a table." The description of wine is "A bottle of wine. Classy." Main East contains wine.
Instead of using wine:
	say "You drink some of the wine. You feel slightly more drunk."; 
	Change NumDrinks to NumDrinks + 1; 
Instead of drinking wine:
	say "You drink some of the wine. You feel slightly more drunk."; 
	Change NumDrinks to NumDrinks + 1; 
			
Instead of drinking a drink: 
	let chosen drink be a random drink carried by the player; 
	if chosen drink is nothing: 
		say "You have no more drinks left!";
	otherwise:
		move chosen drink to DrinkLimbo;
		say "You drink the drink. You feel slightly more drunk."; 
		Change NumDrinks to NumDrinks + 1; 
		


DrinkLimbo is a openable open container. 100 drinks are in DrinkLimbo.

Using is an action applying to one visible thing. Understand "use [something]" as using.
Instead of using a person, say "People aren't objects. Even YOU know that."

Check using: if the noun is not carried and the noun is portable then say "You need to be holding [the noun] first." instead. 

A bracelet is a thing. Carry out taking the bracelet: Move The boyfriend to Main North. The description of a bracelet is "Hmmm, this looks like it might be Roxy's bracelet."

A bar is a kind of thing. A bar is fixed in place. Main South contains a bar. The Balcony contains a bar.
Carry out using a bar: say "You are standing in front of the bar. Maybe you should ask the bartender for a drink?"

booth is a kind of Supporter.  A booth is enterable.
Main West contains a booth.

chair is a kind of Supporter.  A chair is enterable.
The balcony contains 3 chairs.

table is a kind of Supporter. The balcony contains a table. There is a wine on the table.

Chapter 3 People

The block giving rule is not listed in the check giving it to rules.

The bartender is a person in Main South.  The bartender carries a drink.
[Instead of asking bartender for drink: try bartender giving a drink to the player.]


Before asking bartender for a drink:
	let chosen drink be a random drink in DrinkLimbo; 
	move the chosen drink to the player;
	say "The bartender hands you a drink.";
	stop the action;
	
Before asking bartender for a wine:
	say "'Sorry son,' the bartender says. 'We're all out.'";
	
		
Instead of interacting bartender, say "You chat with the bartender for a while. You could ask for a drink if you want one".

A girl is a kind of person. A girl has a number called progress. The progress of a girl is usually 1.
Understand "talk to [someone]" as interacting. 

A guy is a kind of person. A guy has a number called progress. The progress of a guy is usually 1.
Understand "talk to [someone]" as interacting. 
Understand "man" as guy. Understand "boy" as guy.

A waitingPerson is a kind of man. The waitingPerson is either waitingForResponse or notWaitingForResponse. The waitingPerson is usually notWaitingForResponse.
The boyfriend is a waitingPerson."[if in Main North]Uh oh. This guy looks pissed.[else if in Stage North]Roxy's boyfriend is here. You can't tell if his eyes are wandering to check out all the ladies or if he's just looking for Roxy.[end if]"

[///////////////////////////////////   Roxy    ///////////////////////////////////////////////]

Roxy is a girl. Roxy is in Main North. "[if Progress of Roxy is 1]You see a woman leaning up against the bar. Damn, she's hot! And did she just wink at you?[else if in Women's Bathroom]Roxy is sitting against the wall and is crying.[otherwise]You see Roxy in the room.[end if]".
Understand "woman" as Roxy.

carry out interacting Roxy:
	if the boyfriend is waitingForResponse:
		say "Hold on a second cowboy. Don't you think you should answer her boyfriend first? If you don't, he'll beat your face in.";
	else if the Progress of Roxy is 1:
		say "Alright. You're in your element. You calmly cruise over to the bar and drop a pickup line that could seduce Aphrodite herself.  She introduces herself as Roxy, and she's making it obvious. Everything is going great when she drops the bombshell: 'I just got in a fight with my boyfriend'. She says she's upset, but you're not buying it. Why don't you go get her a drink?";
		Change Progress of Roxy to 2;
	else if the Progress of Roxy is 2:
		say "'Hey, you're not my boyfriend!' Roxy says coyly. Hey, maybe a drink would help?";
	else if the Progress of Roxy is 3:
		say "A gentle breeze brushes a locke of Roxy's hair into her face. You brush it back. Roxy is glad to get out from all that noise. After a few minutes of small talk, she admits that she isn't really very upset about her fight with her boyfriend. She is, however, worried, because she lost her favorite bracelet!";
		Change Progress of Roxy to 4;
		Move the bracelet to Stage North;
	else if the Progress of Roxy is 4:
		say "'I wonder where my bracelet is?' Roxy asks aloud.";
	else if the Progress of Roxy is 5:
		say "'Hey, you're not supposed to be in here,' Roxy manages to say between sobs. It looks like she could really use a shoulder to cry on right now. She should probably get out of this dump of a bar.";
	else if the Progress of Roxy is 6:
		say "placeholder for what roxy should say if she is still on the patio because you lied to her boyfriend.";
	else if the Progress of Roxy is 7:
		say "'Would you like to dance or hang out by the bar?' {Maybe try 'Answer Dance' or 'Answer Bar'}";
	else if the Progress of Roxy is 8:
		say "CLASH WITH BOYFRIEND";
	else if the Progress of Roxy is 9:
		say "You and Roxy chat about anything and everything. And she keeps hinting at possibly leaving the bar with you. After all, you did find her precious bracelet. You could try asking her about leaving.";

Every turn:
	If the player is in Stage North and the Progress of Roxy is 8:
		end the story saying "Oh god. Roxy's boyfriend walks up to you and Roxy. He's all smiles, but something's not right. Ah, there it is. His arm swings quickly and his fist hits you like a sledgehammer, right in the kisser.[Paragraph Break]You wake up 24 hours later in the emergency room. Well, at least someone was courteous enough to call an ambulance. Not really the awesome night you had been looking for though. Try playing again?";

After giving a bracelet to Roxy:
	say "'Oh my god, how did you find it! Thanks Vinny!' She brushes her hair back and smiles cutely. 'We should hang out some more. Do you want to go dance or hang out by the bar?' she asks.";
	Change Progress of Roxy to 7;

A dance is a thing.
Understand "go dance" and "dancefloor" and "dancing" as dance.
After answering Roxy that "dance":
	if the Progress of Roxy is 7:
		say "'Ok cool, I just hope we don't run into my boyfriend, he's a real hothead.' Roxy exits to the south, on her way to the dancefloor.";
		Move Roxy to Stage North;
		Change Progress of Roxy to 8;

Understand "hang" and "hang out" and "hang out by the bar" and "by the bar" as bar.
After answering Roxy that "bar":
	if the Progress of Roxy is 7:
		say "'Alright, I'll grab us a booth by the bar.' Roxy exits to the south, on her way to the booths.";
		Move Roxy to Main West;
		Change Progress of Roxy to 9;
		
		
After giving a drink to Roxy:
	if the Progress of Roxy is 2:
		say "You saunter back over, drink in hand, and you are now 'her best friend ever!' You're in. You ask her if she wants to get some fresh air out on the patio. She agrees, and walks out the open doors behind her into the moonlit night.";
		Change Progress of Roxy to 3;
		Move Roxy to The Patio;

A leaving is a thing.
Understand "banging" and "sex" and "bouncing" and "home" and "going home" as leaving.
After asking Roxy about "leaving":
	If the Progress of Roxy is 9:
		say "'Oh god, I thought you'd never ask. Let's get out of this dump. You're such a nice guy,' Roxy says as she gathers up her purse and finishes her drink. 'Maybe we should go back to your place,' she adds. SCORE!";
		end the story saying "{Good job! You took Roxy home with you and have a great night ahead of you, well, as long as her boyfriend doesn't come knocking. Try playing the game again. There are two other girls to test your magic on and even a secret ending if you're really smooth.}[Paragraph Break]{SECRET ENDING HINT 1 OF 3: Maybe there is another girl in the club who would be a perfect match for that meathead of a boyfriend that Roxy has.}";
	else if the Progress of Roxy is 5:
		say "'Yeah, I'm so done with this place.' She wipes the tears from her eyes. Roxy holds out her hand and you help her up. 'You're a great guy,' she smiles, 'Thanks.' You ask her if she wants you to take her home. 'Nah, lets go back to your place.' Ooooooook...";
		end the story saying "{Well, you win? I'm not going to lie, that was a little weird. She never really did seem to like that boyfriend anyway. Try playing again, there are other girls and other endings, hopefully no more tears though.}[Paragraph Break]{SECRET ENDING HINT 1 OF 3: Maybe there is another girl in the club who would be a perfect match for that meathead of a boyfriend that Roxy has.}";
	else:
		say "'No, I don't really want to go yet.'";
	
Every turn:
	if the player is in Main North and the boyfriend is in Main North and the boyfriend is notWaitingForResponse:
		say "The very strong man walks up to you. 'I'm looking for my girlfriend, Roxy' the man says. 'Have you seen her?'"; 
		Now The boyfriend is  waitingForResponse;
		
The block saying yes rule is not listed in the check saying yes rulebook.
The block saying no rule is not listed in the check saying no rulebook.

understand "say yes " as saying yes.
understand "say no" as saying no.

Instead of saying yes:
	if player is in Main North and The boyfriend is in Main North and the Boyfriend is waitingForResponse:
		say "You admit that you have in fact seen Roxy, and she is out on the patio. Her boyfriend quickly disappears out the door to confront her. You hear some distant shouting, and then Roxy rushes past you sobbing, heading southwest.";
		remove the boyfriend from play; 
		Move Roxy to the Women's Bathroom;
		Change Progress of Roxy to 5;
		Now the boyfriend is notWaitingForResponse;
	otherwise: 
		say "howdy doody";
Instead of saying no:
	if player is in Main North and The boyfriend is in Main North and the Boyfriend is waitingForResponse:
		say "'If you're lieing to me, I'll break you in half,' the boyfriend threatens. With that, he storms away to the east, toward the dancefloor."; 
		Move the boyfriend to Stage North;
		Change Progress of Roxy to 6;
		now the boyfriend is notWaitingForResponse;

carry out interacting the boyfriend:
	if in Main North:
		say "You should probably just answer him";
	else if in Stage North:
		say "'I should just hook up with some random chick. That'll show her.'";
	else if in Stage South:
		say "'This girl is great. Thanks bro.'";

After asking the boyfriend about "Jillie":
	If the Progress of Maria is 4:
		say "'Haha, ya I'll check her out. Roxy will be so pissed,' he smiles. He exits to the south. You're quite the matchmaker aren't you?";
		Move the boyfriend to Stage South;
		Increase secretProgress by 1;
		Change Progress of Hunk to 1;
		Change Progress of Maria to 5;
	else:
		say "'Who?'";

[///////////////////////////////////   Maria   ///////////////////////////////////////////////]


Maria is a girl. Maria is in Stage North. "[if the Progress of Maria is 1 or the Progress of Maria is 2]You see a red-headed girl dancing with her friend. She is mesmerizing![otherwise]You see Maria in the room.[end if]".
Understand "redhead" and "red" and "red-head" and "red-headed girl" and "redheaded girl" and "redhaired girl" as Maria.

Jillie is a girl. Jillie is in Stage North. "[if in Stage South]Maria's friend, Jillie is here.[end if]". Understand "friend" as Jillie.

Hunk is a guy. Hunk is in Men's Bathroom. "[if in Men's Bathroom]There is a guy combing his hair and making strange duck faces at the mirror. His skin is inhumanly orange, do girls really like that? [otherwise] You see the man from the bathroom talking with Maria's friend.[end if]".
Understand "guy" as Hunk. Understand "man" as Hunk. Understand "guido" as Hunk. Understand "bro" and "orange" as Hunk.

carry out interacting Hunk:
	if the Progress of Hunk is 1:
		say "'Bro, this club is just full of grenades.'";
	else if the Progress of Hunk is 2:
		say "'Bro, this club is just full of grenades.' Maybe he would be interested in Jillie.";
	else if the Progress of Hunk is 3:
		say "'She's great. We're totally vibin'.'";
		
After asking Hunk about "Jillie":
	If the Progress of Maria is 4:
		say "'Hmmm, maybe she'll dig my blowout. I'll go check it out. Thanks brah.' He makes one last face at the mirror and then dips out of the bathroom.";
		Move Hunk to Stage South;
		Change Progress of Hunk to 3;
		Change Progress of Maria to 5;
	else:
		say "'Who?'";

carry out interacting Maria:
	if the Progress of Maria is 1:
		say "You tap her on the shoulder, and say, 'Girl, are you a parking ticket? Cause you got FINE written all over you.' She gives you a disgusted look. She goes back to dancing with her friend and has succeeded in pretending that you don't exist. Real smooth dude.";
		Change Progress of Maria to 2;
	else if the Progress of Maria is 2:
		say "This time, you pull out some sick pop and locking as you slyly walk past her. The friend she is dancing with giggles. 'Hi there, I'm Maria,' the red-head says, finally aknowledging your existence. 'And this is my friend Jillie,' she adds. 'Name's Vincent,' you say. 'Hey how about we go dance by the stage,' Maria takes her friend by the hand and they exit to the south.";
		[enter waiting for response loop?]
		Move Maria to Stage South;
		Move Jillie to Stage South;
		Change Progress of Maria to 3;
	else if the Progress of Maria is 3:
		say "You dance with Maria, and you can tell that both of you are having a great time. Fans around you are going crazy for the music. You notice Maria stare sadly over at her friend. She says, 'Hey Vin, do you know anyone that Jillie could dance with?' Hmmm, this could be a great way to score some points with Maria. There's got to be someone in this club that's perfect for her.";
		Change Progress of Hunk to 2;
		Change Progress of Maria to 4;
	else if the Progress of Maria is 4:
		say "'I'd love if we could spend some more time together, but I don't really want to leave Jillie alone.' Maybe you could find a date for her.";
	else if the Progress of Maria is 5:
		say "Maria is smiling, 'Oh gosh, he's just her type, a real juicehead. This moshpit is getting crazy though, and I need some fresh air. Meet me on the balcony?' Flipping her hair, she whispers something to Jillie, who now seems enthralled with the hunk. Maria then exits to the north.";
		Move Maria to The Balcony;
		if secretProgress is 1:
			Change Progress of Maria to 7;
		otherwise:
			Change Progress of Maria to 6;
	else if the Progress of Maria is 6:
		[say "NONSECRET ON BALCONY TALK, DRINK TEST, HOPE U DIDNT TALK TO CHLOE BEFORE THIS. ASK TO TAKE HER HOME";]
		if numDrinks is below 7:
			say "You continue to work the small-talk with Maria, but it isn't really going anywhere. 'You're too serious!' she exclaims. 'You need to loosen up'";
		otherwise: 
			say "You're in your zone, and she can barely keep her hands off of you. 'Oh my god you are so much fun, I never meet guys like you!' She yells. 'I never do this, but do you want to leave?'";
			Change Progress of Maria to 9;
	else if the Progress of Maria is 7:
		say "Maria leans over and whispers seductively into your ear: 'Hey, here's a little secret. I know the band that's playing here. Let's go hang out backstage.' Maria walks down the stairs and disappears behind the stage.";
		Move Maria to Backstage;
		Change Progress of Maria to 8;
	else if the Progress of Maria is 8:
		say "'It's so cool you know the---' you begin, before Maria cuts you off with her tongue down your throat. I guess she likes you. This girl is in the bag.";
	else if the Progress of Maria is 9:
		say "'Let's get out of here' Maria says, placing her hand on your chest.";
		
After asking Maria about "leaving":
	If the Progress of Maria is 9:
		say "";
		end the story saying "{Excellent work! Maria came for a 'night out with the girls', but you saw right through that facade. Your night (and hers) certainly took a turn for the better. Try playing the game again. There are two other girls to test your magic on and even a secret ending if you're really smooth.}[Paragraph Break]{SECRET ENDING HINT 2 of 3: I wouldn't talk to Chloe while you're still with Maria. It might make her angry.}";
	else:
		say "'No, I don't want to leave just yet' she says.";
		
[///////////////////////////////////   Chloe    ///////////////////////////////////////////////]

After entering The Balcony:
	if secretProgress is 1:
		say "Maria is talking to a very attractive girl with blonde hair. Both of them smile at you when you enter.";
		
AFter entering Main West:
	if secretProgress is 2 and Chloe is in Main West:
		move Roxy to Main West;
		say "You see Chloe, and...she's talking to Roxy? How'd she get here? They are acting VERY friendly towards one another.";
		increase secretProgress by 1;


Chloe is a girl. Chloe is in The Balcony.  "[if the Progress of Chloe is 1 and secretProgress is 0]You see a young lady with blonde hair quietly sipping on something, looking out over the balcony. There's something about her that draws you to her.  [else if secretProgress is not 0] You see a young lady with blonde hair quietly sipping on something, looking out over the balcony. [otherwise]You see Chloe in the room.[end if]".
Understand "blonde" and "lady" and "young lady" and "young lady with blonde hair" as Chloe.

carry out interacting Chloe:
	if the Progress of Chloe is 1:
		say "You open your mouth to introduce yourself, but, while still gazing off into the distance, she manages to cut off your first word with, 'It's beautiful isn't it?' You look out from the balcony, and notice that it really is quite beautiful. There is a quiet pond and several tress below, you can see people mingling on the patio to the west, and in the sky, the moon and stars a shining brightly. She turns to you now and holds out he hand saying, 'Hi, I'm Chloe.' You notice she has gorgeous blue eyes. You shake her hand, 'I'm Vincent. This club is so mainstream' 'Yeah it totally is,' she says. She grabs your arm and scrawls her number on it. Nice! 'She tosses her cup of beer off the balcony, 'Ugh, I'm so tired of this crummy shit.'";
		Change Progress of Chloe to 2;
		if the Player is in the presence of Maria:
			say "'What the hell is this?' Maria screams at you. 'I leave you for one second and you get some other girls number???' She storms away fuming. I guess you blew that one.'";
			remove Maria from the game;
			Change secretProgress to 0;
	else if the Progress of Chloe is 2:
		say "Maybe she would like something a little classier to drink.";
	else if the Progress of Chloe is 3:
			say "'Oh my god, that wine is really affecting me', Chloe says. 'I'm feeling so excited! Let's do something crazy! Let's sneak backstage!' Chloe runs off before you have the chance to respond.";
			Move Chloe to Backstage;
			Change Progress of Chloe to 4;
			if secretProgress is 3, say "Roxy leans over to you as soon as Chloe runs off. 'I really like that girl, she says. We could have some fun together.'".
	else if the Progress of Chloe is 4:
		say "BACKSTAGE TALKY TALKY";
	else if the Progress of Chloe is 5:
		say "SECRET ENDING TALKY TALKY";

After giving wine to Chloe:
	if the Progress of Chloe is 2:
		say "'Wow, this is actually awesome. Good job wonderboy.' She raises her glass for a toast and says, 'To casette players. They're so retro.' Um, ok. You toast with her anyway. Chloe says, 'Hey, I'm gonna go grab a booth. Join me?' She brushes by you gently, touching your shoulder suggestively. Chloe exits to the south.";
		Move Chloe to Main West;
		Change Progress of Chloe to 3;
	otherwise:
		say "'Hey, thanks.' Maria says. She quickly gulps down the drink.";

		
After asking Chloe about "leaving":
	If the Progress of Chloe is ??:
		say "";
		end the story saying "{Good job! You took Roxy home with you and have a great night ahead of you, well, as long as her boyfriend doesn't come knocking. Try playing the game again. There are two other girls to test your magic on and even a secret ending if you're really smooth.}[Paragraph Break]{SECRET ENDING HINT 1 OF 3: Maybe there is another girl in the club who would be a perfect match for that meathead of a boyfriend that Roxy has.}";
	else if the Progress of Chloe is ??:
		say "";
		end the story saying "{Well, you win? I'm not going to lie, that was a little weird. She never really did seem to like that boyfriend anyway. Try playing again, there are other girls and other endings, hopefully no more tears though.}[Paragraph Break]{SECRET ENDING HINT 1 OF 3: Maybe there is another girl in the club who would be a perfect match for that meathead of a boyfriend that Roxy has.}";
	else:
		say "'Haha, no way.'";




